﻿/*
*┌────────────────────────────────────────────────┐
*│　描    述：HospitalInfoDTO                                                   
*│　作    者： (Jxw)                                             
*│　版    本：1.0                                              
*│　创建时间：2020/9/1 18:53:27                        
*└────────────────────────────────────────────────┘
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class HospitalInfoDTO
    {
        /// <summary>
        /// 医院接诊能力集合
        /// </summary>
        public HospitalAbleList hospitalAbleList { get; set; }

        /// <summary>
        /// 医院科室集合
        /// </summary>
        public List<DepartInfoList> departInfoList { get; set; }

        /// <summary>
        /// 救治能力集合
        /// </summary>
        public List<HospitalAidableList> hospitalAidableList { get; set; }

        /// <summary>
        ///医院单元集合
        /// </summary>
        public HospitalUnitList hospitalUnitList { get; set; }
  


    }

    /// <summary>
    /// 接诊能力
    /// </summary>
    public class HospitalAbleList
    {
        public List<AcceptableOtherList> acceptableOtherList { get; set; }
        public string aidOpenState { get; set; }
        public string emergencyAcceptable { get; set; }
        public List<AcceptableList> acceptableList { get; set; }
    }

    public class AcceptableOtherList
    {
        public string name { get; set; }
        public int count { get; set; }
    }

    public class AcceptableList
    {
        public string name { get; set; }
        public string Acolor { get; set; }
        public double APercent { get; set; }
        public int count { get; set; }
    }

    /// <summary>
    /// 科室设置
    /// </summary>
    public class DepartInfoList
    {
        public string typeName { get; set; }
        public List<DepartInfo> list { get; set; }
       
    }

    public class DepartInfo
    {
        public string name { get; set; }
        public string type { get; set; }
        public bool opened { get; set; }
        public string remark { get; set; }
        public int aidNum { get; set; }
    }

    /// <summary>
    /// 急诊单元
    /// </summary>
    public class HospitalUnitList
    {
        public List<AidBedList> aidBedList { get; set; }
        public List<PatientAreaList> patientAreaList { get; set; }
    }

    public class AidBedList
    {
        public string BedName { get; set; }
        public double BedPercent { get; set; }
        public string BedColor { get; set; }
        public int BedUsed { get; set; }
        public int BedSum { get; set; }
        public int Remaining { get; set; }
    }


    public class PatientAreaList
    {
        public string name { get; set; }
        public int value { get; set; }
    }


    /// <summary>
    /// 救治能力
    /// </summary>
    public class HospitalAidableList: DepartInfoList
    {
       
    }

    //区域车组
    public class AreaAmbList : PatientAreaList {

    }

}
